﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;


namespace IEFavoritesPlugin
{
    public partial class OptionsForm : Form
    {
        public OptionsForm()
        {
            InitializeComponent();
        }

        private void radioButton2_CheckedChanged(object sender, EventArgs e)
        {

        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            Configs.WriteSubIndexValue(UseSubIndex, BookMarksLocations);
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            
        }

        public bool UseSubIndex
        {
            get
            {
                return this.btnSubIndex.Checked;
            }
        }

        public string BookMarksLocations
        {
            get
            {
                return this.textBox1.Text;
            }
            set
            {
                textBox1.Text = value;
            }
        }
    }
}
